package com.base.user.entity;

import com.mysteel.core.Entity;
/**
 * 
 * @author chendonglin
 *
 */
public class Member implements Entity
{

	private static final long serialVersionUID = 1179650868265131795L;
	
	private long id;				//PK
	
	private String userName;		//用户名
	private String password;		//密码
		
	private String email;			//邮箱
	private String nickName;		//昵称
	private String sign;			//签名
	private String school;			//学校
	private String birthDay;		//生日
	private int gender =1;			//1-男,2-女
	private int age;				//年龄
	private long lastLoginTime;		//最后登录时间
	private int loginStatus;		//登录状态 1-上线，2-下线
	private String lastLoginIp;		//最后登录的IP
	private int status=1;			//1-正常，2-异常
	private long registerTime;		//注册时间
	private boolean isVip = false;	//是否是VIP
	private String headUrl;			//头像URL
	
	public String getSign()
	{
		return sign;
	}
	public void setSign(String sign)
	{
		this.sign = sign;
	}
	public long getId()
	{
		return id;
	}
	public void setId(long id)
	{
		this.id = id;
	}
	public String getUserName()
	{
		return userName;
	}
	public void setUserName(String userName)
	{
		this.userName = userName;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public String getNickName()
	{
		return nickName;
	}
	public void setNickName(String nickName)
	{
		this.nickName = nickName;
	}
	public String getSchool()
	{
		return school;
	}
	public void setSchool(String school)
	{
		this.school = school;
	}
	public String getBirthDay()
	{
		return birthDay;
	}
	public void setBirthDay(String birthDay)
	{
		this.birthDay = birthDay;
	}
	public int getGender()
	{
		return gender;
	}
	public void setGender(int gender)
	{
		this.gender = gender;
	}
	public int getAge()
	{
		return age;
	}
	public void setAge(int age)
	{
		this.age = age;
	}
	public long getLastLoginTime()
	{
		return lastLoginTime;
	}
	public void setLastLoginTime(long lastLoginTime)
	{
		this.lastLoginTime = lastLoginTime;
	}
	public int getLoginStatus()
	{
		return loginStatus;
	}
	public void setLoginStatus(int loginStatus)
	{
		this.loginStatus = loginStatus;
	}
	public String getLastLoginIp()
	{
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp)
	{
		this.lastLoginIp = lastLoginIp;
	}
	public int getStatus()
	{
		return status;
	}
	public void setStatus(int status)
	{
		this.status = status;
	}
	public long getRegisterTime()
	{
		return registerTime;
	}
	public void setRegisterTime(long registerTime)
	{
		this.registerTime = registerTime;
	}
	public boolean isVip()
	{
		return isVip;
	}
	public void setVip(boolean isVip)
	{
		this.isVip = isVip;
	}
	public String getHeadUrl()
	{
		return headUrl;
	}
	public void setHeadUrl(String headUrl)
	{
		this.headUrl = headUrl;
	}
	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	public Member(long id, String userName, String password, String email,
			String nickName, String school, String birthDay, int gender,
			int age, long lastLoginTime, int loginStatus, String lastLoginIp,
			int status, long registerTime, boolean isVip, String headUrl,String sign)
	{
		super ();
		this.id = id;
		this.userName = userName;
		this.password = password;
		this.email = email;
		this.nickName = nickName;
		this.school = school;
		this.birthDay = birthDay;
		this.gender = gender;
		this.age = age;
		this.lastLoginTime = lastLoginTime;
		this.loginStatus = loginStatus;
		this.lastLoginIp = lastLoginIp;
		this.status = status;
		this.registerTime = registerTime;
		this.isVip = isVip;
		this.headUrl = headUrl;
		this.sign = sign;
	}
	public Member()
	{
		super ();
	}
	
}
